const express = require('express');
const app = express();
const userRoutes = require('./routes/user');
const port = 8888;
app.use('/user',userRoutes);
app.listen(port,function(err){
    if(err){
        console.log(err);
    }
    console.log('server is listening on ' + port);
});

